import { apiClient } from '@/utils/request';
// 发送验证码
export const getsendSms = (userTel) => apiClient.get(`/users-stre/sendSms/${userTel}`); 
// 登录
export const login = (data) => apiClient.post("/users-stre/login", data);
// 刷新令牌 /users/refresh-token

// 登出
export const userLogout = (data) => apiClient.post("/users-stre/userLogout", data);

// 密码登录
export const pwdLogin = (data) => apiClient.post("/users-stre/userPwdLogin", data)

// 登录信息
export const getInfo=(userId)=>apiClient.get(`/user/getInfo/${userId}`)

// 图片上传
export const upload=(data)=>apiClient.post("/user/upload",data)
